<?php
class ModelBlogRoll extends Model {
		
	public function getFavouriateLinks() {
		$sql = "SELECT 
					flinks.name,
					flinks.href,
					flinks.target
				FROM 
					" . DB_PREFIX . "blog_links_description flinks 
				WHERE 
					flinks.language_id = '" . (int)$this->config->get('config_language_id') . "' 
					AND  flinks.published = '1'
				ORDER BY 
					flinks.sort_order ASC 
				";
		$query = $this->db->query($sql);

		return $query->rows;
	}	
}
?>